<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>10_文本样式</title>
    <style>
      span {
        font-size: 40px;
        color: blue;
        height: 160px;
        width: 400px;
        background-color: bisque;
        display: inline-block;
        text-align: center;
        line-height: 160px;
        font-weight: bolder;
        font-style: italic;
        text-decoration: line-through;
        text-indent: 2em;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
      }
      a {
        text-decoration: none;
        color: blue;
      }
    </style>
  </head>
  <body>
    <span>测试文本样式测试文本样式测试文本样式测试文本样式</span>
    <a href="https://www.baidu.com">百度</a>
  </body>
</html>
